
import {defineComponent, ref, reactive, toRefs, watch, h, inject} from 'vue'
import hljs from 'highlight.js/lib/core'
import java from 'highlight.js/lib/languages/java'
hljs.registerLanguage('java', java)

export default defineComponent({
    components: {

    },
    setup() {
        const containerRef = ref<HTMLElement>(null as unknown as HTMLElement)
        const state = reactive({
            hljs,
        })
        return {
            ...toRefs(state),
            containerRef
        }
    }
})
